package com.rui.admin.mapper;



import com.rui.common.pojo.Star;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author huang Zeming
 * @date 2024/06/08
 */
@Component
public interface StarMapper {

    Integer addStar(@Param("star") int star,@Param("sid")  int sid);
    List<Star> findStar(@Param("sid") int sid);


}
